package com.dhcc.bpm.modules.desk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.desk.entity.Notice;
import com.dhcc.bpm.modules.desk.vo.NoticeVO;
import org.springblade.core.mp.base.BaseService;

import java.util.List;

/**
 * @ClassName INoticeService
 * @Description  通知公告 服务类
 * @Author YZC
 * @Date 2019/11/19 14:46
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface INoticeService extends BaseService<Notice> {

	/**
	 * 自定义分页
	 * @param page
	 * @param notice
	 * @return
	 */
	IPage<NoticeVO> selectNoticePage(IPage<NoticeVO> page, NoticeVO notice);
	/**
	 * 查询通知信息列表
	 * @param notice
	 * @return
	 */
	List<Notice> listNotices(Notice notice);

	boolean updateNotice(Notice notice);

}
